package com.sys.db.manager;

import java.util.List;

import com.sys.pojo.RunFlowJob;

public interface RunFlowJobManager {
	public boolean save(RunFlowJob runFlowJob)throws Exception;

	public boolean update(RunFlowJob runFlowJob)throws Exception;

	public boolean delete(int id)throws Exception;

	public List<RunFlowJob> findAll()throws Exception;
	
	public List<RunFlowJob> findByPage(int start,int limit)throws Exception;

	public RunFlowJob findById(int id)throws Exception;
	
	public void saveOrUpdate(String jsonString,String flowId) throws Exception;
	
	public void deleteByIds(String ids)throws Exception;
	
	public List<RunFlowJob> findByFlowId(int flowId)throws Exception;
}
